#include <stdio.h>

int main()
{

	char str [] = "hello";

	int i, n, t;

	for (i=0; str[i]; i++);

	n = i-1;

	for (i=0; i < n/2; i++) {
		t = str[i];
		str [i] = str[n-i];
		str[n-i] = t;
	}

	printf ("strrev is : %s", str);
	
	return 0;
}
